﻿@using LdCms.EF.DbModels
@using LdCms.Common.Enum
@using LdCms.Common.Utility
@using LdCms.Common.Extension
@model Ld_Log_WebApiAccessRecord
@{
    ViewData["Title"] = "Show";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<article class="page-container bg-eee" style="min-height:775px;">
    <div class="cl pd-20 bg-fff" style="min-height:735px;">
        <div class="tabBar cl clearfix">
            <span>基本信息</span>
        </div>
        <div class="mt-15">
            <table class="table table-border table-bordered table-hover table-bg table-sort">
                <tbody>
                    <tr>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">请求网址：</td>
                        <td class="text-l" width="" colspan="3">@Model.Url</td>
                    </tr>
                    <tr>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">类别：</td>
                        <td class="text-l" width="35%">@Model.ClassName</td>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">IP地址：</td>
                        <td class="text-l" width="">@Model.IpAddress</td>
                    </tr>
                    <tr>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">方法：</td>
                        <td class="text-l" width="35%">@Model.Method</td>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">状态：</td>
                        <td class="text-l" width="">@(Model.State.ToBool() ? "成功" : "失败")</td>
                    </tr>
                    <tr>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">用时：</td>
                        <td class="text-l" width="" colspan="3">@Model.TotalMillisecond.ToInt() ms</td>
                    </tr>
                    <tr>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">传入参数：</td>
                        <td class="text-l" width="" colspan="3">@Model.Params</td>
                    </tr>
                    <tr>
                        <td class="text-r" style="background-color:#f5fafe;" width="200">返回结果：</td>
                        <td class="text-l" width="" colspan="3">@Model.Result</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</article>

